package com.caigou.service;

import com.caigou.bean.cms.entity.Us;
import com.caigou.bean.cms.param.UsParam;
import com.caigou.util.Result;
import org.springframework.web.bind.annotation.RequestBody;

import java.util.List;

public interface UsService {
    Us selectByPrimaryKey(Integer id);
    int deleteByPrimaryKey(Integer id);
    List<Us> listUs();
    int insertSelective(Us us);
    int updateUs(Us us);

    Result saveAndPublishUs(UsParam usParam);
}
